
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
About targets</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp41.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp43.htm" >Next</A>
<!-- End Header -->
<A NAME="CEGJEAJI"></A><h1>About targets</h1>
<A NAME="TI1258"></A><p>A target can be used to create:<A NAME="TI1259"></A>
<ul>
<li class=fi><b>An executable application</b>   A collection of PowerBuilder windows that perform related
activities and that you deliver to users.<br>
An executable application can be a traditional client/server application
that accesses a database server or an application that acts as a
client in a distributed application and requests services from a server
application.<br></li>
<li class=ds><b>A server component</b>   A component containing one or more custom class user objects
that have methods to provide the required business logic and the
characteristics needed for deployment to a distributed application
server such as <ACRONYM title = "E A Server" >EAServer</ACRONYM>,
JBoss, WebSphere, or WebLogic.</li>
<li class=ds><b>A .NET Windows Forms or Web Forms application,
assembly, or Web service</b>   An application or custom class user object to be deployed to
the .NET Framework.
</li>
</ul>
</p>
<A NAME="TI1260"></A><p>The first step in creating a new application or component
is to use a Target wizard, described in <A HREF="pbugp3.htm#CAIDBGGEF">Chapter 1, "Working with PowerBuilder."</A></p>
<A NAME="TI1261"></A><p>Depending on the type of target you choose to create, the
target can include only an Application object or it can include
additional objects. If the target requires connection to a server
or a <ACRONYM title = "sequel" >SQL</ACRONYM> database, the Template
Application wizard also creates a Connection object.</p>
<A NAME="TI1262"></A><h4>The Application object</h4>
<A NAME="TI1263"></A><p>All application, component, and .NET targets include an Application
object. It is a discrete object that is saved in a PowerBuilder
library, just like a window, menu, function, or DataWindow object.
When a user runs the application, the scripts you write for events
are triggered in the Application object. </p>
<A NAME="TI1264"></A><p>When you open an Application object in PowerBuilder, you enter
the Application painter.</p>
<A NAME="TI1265"></A><p>After you create the new target, you can open the Application
object and work in the Application painter to define application-level
properties (such as which fonts are used by default for text) and
application-level behavior (such as what processing should occur
when the application begins and ends).</p>

